{layout name="public/layout"}
{include file="public/fenlei" /}
<div class="layui-container">
    <div class="layui-row layui-col-space15">
        <div class="layui-carousel" id="test1">
            <div carousel-item>
                {:getAds('','img','10')}
            </div>
        </div>
        <script>
            Adslunbo('#test1','',1000);

        </script>
        <div class="layui-col-md8">


            <div class="fly-panel">
                <div class="fly-panel-title fly-filter">
                    会员频道
                </div>

                <ul class="fly-list">

                    <li>

                    </li>
                </ul>

            </div>
            <!--广告开始-->
            <fieldset class="layui-elem-field">
                {if condition="AdList('9')['ad_img'] eq true"}
                <a href="{:AdList('9')['ad_img_a']}" target="_blank">
                    <img src="{:AdList('9')['ad_img']}" width="100%"/>
                </a>
                {/if}
            </fieldset>
            <!--广告结束-->
            <div class="fly-panel">
                <div class="fly-panel-title fly-filter">
                    热映电影
                </div>
                <ul class="fly-list">
                    <?php if(isset($dy_index_hot)){?>
                    <?php foreach ($dy_index_hot['vname'][1] as  $ke=>$y){?>
                    <li class="layui-col-xs6 layui-col-sm3 layui-col-md3">
                        <div id="hsq_div">
                            <a href='{:url("Pay/index",array("url"=>base64_encode($dy_index_hot["va"][1][$ke])))}' class="fly-avatar"  title='<?php echo $dy_index_hot['vname'][1][$ke]?>'>
                            <img src='<?php echo $dy_index_hot['vimg'][2][$ke]?>' alt='<?php echo $dy_index_hot['vname'][1][$ke]?>'>
                            </a>
                            <span class="nian">{$dy_index_hot['nname'][1][$ke]}</span>
                            <span class="pf">{$dy_index_hot['fname'][1][$ke]}</span>
                        </div>
                        <h2>
                            <a href="{:url("Pay/index",array("url"=>base64_encode(config('kanurl').$dy_index_hot['va'][1][$ke])))}"><?php echo $dy_index_hot['vname'][1][$ke]?></a>
                        </h2>
                    </li>
                    <?php  }?>
                    <?php  }?>
                </ul>
            </div>
            <div class="fly-panel">
                <div class="fly-panel-title fly-filter">
                    热映电视剧
                </div>
                <ul class="fly-list ">
                    <?php if(isset($dsj_index_hot)){?>
                    <?php foreach ($dsj_index_hot['vname'][1] as  $ke=>$y){?>
                    <li class="layui-col-xs6 layui-col-sm3 layui-col-md3">
                        <div id="hsq_div">
                            <a href='{:url("Pay/index",array("url"=>base64_encode($dsj_index_hot["va"][1][$ke])))}' class="fly-avatar"  title='<?php echo $dsj_index_hot['vname'][1][$ke]?>'>
                            <img src='<?php echo $dsj_index_hot['vimg'][2][$ke]?>' alt='<?php echo $dsj_index_hot['vname'][1][$ke]?>'>
                            </a>
                            <span class="nian">{$dsj_index_hot['nname'][1][$ke]}</span>
                        </div>
                        <h2>
                            <a href="{:url("Pay/index",array("url"=>base64_encode(config('kanurl').$dsj_index_hot['va'][1][$ke])))}"><?php echo $dsj_index_hot['vname'][1][$ke]?></a>
                        </h2>
                    </li>
                    <?php  }?>
                    <?php  }?>
                </ul>
            </div>
        </div>
        <div class="layui-col-md4 layui-hide-xs">
            <div class="fly-panel">
                <h3 class="fly-panel-title">最新活动</h3>
                <ul class="fly-panel-main fly-list-static">
                    <li>
                        <a name="signin"></a>
                        <a href="http://fly.layui.com/case/2018/" target="_blank">layui 案例平台，发现更广泛的生态</a>
                    </li>

                </ul>
            </div>
            <fieldset class="layui-elem-field">
                {if condition="AdList('10')['ad_img'] eq true"}
                <a href="{:AdList('10')['ad_img_a']}" target="_blank">
                    <img src="{:AdList('10')['ad_img']}" width="100%""/>
                </a>
                {/if}
            </fieldset>
           <div class="fly-panel fly-signin">

                <div class="fly-panel-main" style="padding: 10px;">
                    <div class="layui-tab layui-tab-card">
                        <ul class="layui-tab-title">
                            <li class="layui-this">签到</li>
                            <li>活跃榜</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item layui-show">内容1</div>
                            <div class="layui-tab-item">内容2</div>
                        </div>
                    </div>
                </div>
            <div class="fly-panel">
                <div class="fly-panel-title">钻级赞助商
                    <span class="fly-mid"></span>
                    <a href="/jie/15697/" class="fly-link fly-joinad    ">我要加入</a></div>
                <div class="fly-panel-main" style="padding: 13px 15px;">
                    <a href="http://www.ukewo.cn/" target="_blank" rel="nofollow" class="fly-zanzhu" style="background-color: #1A7BFA;" time-limit="2018-05-13 0:0:0">优客服 - 开源的智能客服系统 + 呼叫中心</a>
                    <a href="https://juejin.im/welcome/backend?utm_source=layui&utm_medium=banner&utm_content=fangwen&utm_campaign=q2_website" target="_blank" rel="nofollow" class="fly-zanzhu fly-zanzhu-img" time-limit="2018-05-20 0:0:0">
                        <img src="//cdn.layui.com/upload/2018_4/168_1524128314283_57388.jpg" alt="掘金"></a>
                </div>
            </div>
            <div class="fly-panel fly-rank fly-rank-reply" id="LAY_replyRank">
                <h3 class="fly-panel-title">回贴周榜</h3>
                

                
            </div>
            <dl class="fly-panel fly-list-one">
                

            </dl>
            <div class="fly-panel">
                <div class="fly-panel-title">官方产品</div>
                <div class="fly-panel-main">
                    <a href="http://www.layui.com/admin/?from=fly" target="_blank" class="fly-zanzhu" time-limit="2017.09.25-2099.01.01" style="background-color: #20222A;">layuiAdmin - layui 官方后台管理模板</a>
                    <a href="http://layim.layui.com/?from=fly" target="_blank" class="fly-zanzhu" time-limit="2017.09.25-2099.01.01" style="background-color: #009688;">LayIM - layui 即时通讯旗舰之作</a></div>
            </div>
            <div class="fly-panel" style="padding: 20px 0; text-align: center;">
                <img src="//cdn.layui.com/upload/2017_8/168_1501894831075_19619.jpg" style="max-width: 100%;" alt="layui">
                <p style="position: relative; color: #666;">微信扫码关注 layui 公众号</p></div>
            <div class="fly-panel fly-link">
            </div>
        </div>
    </div>
</div>